function getout(separator){
	var thispath = location.pathname.split(separator)
	var folderindex = thispath.length - 2
	
	while(thispath[folderindex] == "useraccount"){
		history.back()
		thisplath = location.pathname.split(separator)
		folderindex = thispath.length - 2
	}
}